importAWGFile
Import numeric data from a text file as column vectors. Can be used to import data defining an arbitrary waveform from a file.
This function was auto-generated by MATLAB on 2013/11/06 17:37:04
Contents
Syntax
AWGARRAY = importAWGFile(FILENAME)
AWGARRAY = importAWGFile(FILENAME, STARTROW, ENDROW)
Description
AWGARRAY = importAWGFile(FILENAME) Reads data from text file FILENAME for the default selection.
AWGARRAY = importAWGFile(FILENAME, STARTROW, ENDROW) Reads data from rows STARTROW through ENDROW of text file FILENAME.
Examples
awgArray = importAWGFile('2205A_AWG_Sine.csv'); whos; awgArray = importAWGFile('2205A_AWG_Sine.csv', 1, 2048); whos;
Name Size Bytes Class Attributes B 1x1 8 double D 1x1 8 double F 1x1 8 double P 1x1 4 uint32 Q 1x25 50 char R 1x1 8 double T 1x1 8 double U 1x2 4 char W 1x1 8 double X 1x1 2 char Y 1x11 22 char ans 1x177 354 char awgArray 4096x1 32768 double flag 1x1 8 double maxValue 1x1 8 double n 1x1 8 double psTbxProject 1x1 1712 struct psTbx_doc_options 1x1 829 struct rootDir 1x143 286 char voltageRange 1x1 8 double Name Size Bytes Class Attributes B 1x1 8 double D 1x1 8 double F 1x1 8 double P 1x1 4 uint32 Q 1x25 50 char R 1x1 8 double T 1x1 8 double U 1x2 4 char W 1x1 8 double X 1x1 2 char Y 1x11 22 char ans 1x177 354 char awgArray 2048x1 16384 double flag 1x1 8 double maxValue 1x1 8 double n 1x1 8 double psTbxProject 1x1 1712 struct psTbx_doc_options 1x1 829 struct rootDir 1x143 286 char voltageRange 1x1 8 double
Input Arguments
- FILENAME - name of the file from which data is to be read (string)
- STARTROW - first row to read data from (scalar integer)
- ENDROW - last row to read data from (scalar integer)
Output Arguments
- AWGARRAY - column vector of numeric data read from FILENAME
See Also
Copyright: © 2015 Pico Technology Ltd. All rights reserved.